﻿public abstract class BaseState
{
    protected string stateName;

    public BaseState(string name)
    {
        stateName = name;
    }

    protected abstract void enter();

    protected abstract void exit();
    
    protected virtual void update(){}

    public BaseState NextState
    {
        get;
        set;
    }
}
